package com.example.yogurtsystem.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2021/8/15
 */
@Data
public class DrinkDto implements Serializable {
    /**
     * 主键
     */
    @NotBlank(message = "饮品id不能为空")
    private String id;

    /**
     * 饮品名字
     */
    @NotBlank(message = "饮品名字不能为空")
    private String name;


    private static final long serialVersionUID = 1L;
}
